include ./define.makefile

.PHONY:all

all:${PROTOCGEN_FILE_PATH}/module_Transfer_bin

${PROTOCGEN_FILE_PATH}/module_Transfer_bin:${PROTOCGEN_FILE_PATH}/Transfer.proto.ds ${RESDB_EXCELMMO_PATH}/Transfer.xlsx
	mkdir -p ${PROTOCGEN_FILE_PATH}
	rm -rf ${PROTOCGEN_FILE_PATH}/module_Transfer_bin
	${NFEXCELPROCESS} --work="exceltobin" --patch=${GAME_VERSION_PATCH} --excel_json=${RESDB_EXCEL_JSON} --src=${RESDB_EXCELMMO_PATH}/Transfer.xlsx  --proto_ds=${PROTOCGEN_FILE_PATH}/Transfer.proto.ds --dst=${PROTOCGEN_FILE_PATH}/;
	${FILE_COPY_EXE} --work="filecopy_notexist" --src="${PROTOCGEN_FILE_PATH}/TransferDescEx.h ${PROTOCGEN_FILE_PATH}/TransferDescEx.cpp" --dst=${DESC_STORE_EX_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_Transfer.bin" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_Transfer_debug.json" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --patch=${GAME_VERSION_PATCH} --src="${PROTOCGEN_FILE_PATH}/TransferDesc.h ${PROTOCGEN_FILE_PATH}/TransferDesc.cpp" --dst=${DESC_STORE_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_TransferTrial.bin" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_TransferTrial_debug.json" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --patch=${GAME_VERSION_PATCH} --src="${PROTOCGEN_FILE_PATH}/TransferTrialDesc.h ${PROTOCGEN_FILE_PATH}/TransferTrialDesc.cpp" --dst=${DESC_STORE_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_TransferTree.bin" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_TransferTree_debug.json" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --patch=${GAME_VERSION_PATCH} --src="${PROTOCGEN_FILE_PATH}/TransferTreeDesc.h ${PROTOCGEN_FILE_PATH}/TransferTreeDesc.cpp" --dst=${DESC_STORE_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_TransferTreeLayer.bin" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --src="${PROTOCGEN_FILE_PATH}/E_TransferTreeLayer_debug.json" --dst=${GAME_DATA_PATH}/
	${FILE_COPY_EXE} --work="filecopy" --patch=${GAME_VERSION_PATCH} --src="${PROTOCGEN_FILE_PATH}/TransferTreeLayerDesc.h ${PROTOCGEN_FILE_PATH}/TransferTreeLayerDesc.cpp" --dst=${DESC_STORE_PATH}/
	touch ${PROTOCGEN_FILE_PATH}/module_Transfer_bin
